package org.coderk.mybatis.controller;

import org.coderk.mybatis.controller.transaction.AService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;

/**
 * @author: TanJingyu
 * @create: 2021-06-29 16:29
 **/
@RestController
@RequestMapping("/transaction")
public class TransactionController {
    @Autowired
    private AService aService;

    @GetMapping
    public Object test(HttpServletRequest request) {
        aService.a();
        return "test...";
    }
}
